/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: DELL
 * Date: 2023-08-01
 * Time: 18:42
 */
public class MyHashMap {

    // 链表节点
    public static class Node {
        public int key;
        public int val;

        public Node next;

        public Node(int key, int val) {
            this.key = key;
            this.val = val;
        }
    }

    // 一个存放链表的数组
    public Node[] array;

    // 数组有效个数
    public int usedSize;

    public MyHashMap() {
        this.array = new Node[8];
    }
}
